package com.lovo.homework7_11DouDiZhu;

import java.util.Comparator;

public class myComparator implements Comparator<Card> {
    @Override
    public int compare(Card o1, Card o2) {
        return o1.getNumber()- o2.getNumber();
    }
}
